package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysConfig extends TableDef {

    public static final TSysConfig sys_config = new TSysConfig("sys_config");

    public QueryColumn config_id = new QueryColumn(this, "config_id");
    public QueryColumn config_name = new QueryColumn(this, "config_name");
    public QueryColumn config_key = new QueryColumn(this, "config_key");
    public QueryColumn config_value = new QueryColumn(this, "config_value");
    public QueryColumn config_type = new QueryColumn(this, "config_type");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn remark = new QueryColumn(this, "remark");

    public QueryColumn[] default_columns = new QueryColumn[]{config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark};
    public QueryColumn[] all_columns = new QueryColumn[]{config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark};

    public TSysConfig(String tableName) {
        super(tableName);
    }
}
